package com.chengyu.core.constants;

/**
 * 缓存 keys
 */
public interface ICacheKeys {
    /**
     * 列表时获取的最大数量
     */
    Integer MAX_LIMIT = 10000;

    /**
     * 基础：key
     */
    String BASE = "member_api:";

    /**
     * 用户手信：缓存
     */
    String USER_EXPLORE = BASE + "user_explore";

    /**
     * 企鹅信息
     */
    String PENGUIN_INFO = "penguin:info:";

    /**
     * 小程序首页缓存
     */
    String PENGUIN_HOME_PAGE_INFO = "penguin:home_page:info:";

    /**
     * 签到信息
     * penguin:sign_in:日期:memberId
     */
    String SIGN_IN_DATE = "penguin:sign_in:%s:%s";

    /**
     * 累计签到次数
     * penguin:sign_in:total:memberId
     */
    String SIGN_IN_TOTAL = "penguin:sign_in:total:%s";

    /**
     * 用户地图任务排序
     */
    String USER_TASK_SORT = BASE + "user_task_sort";

    /**
     * 用户获取到的道具
     */
    String USER_PROP = BASE + "user_prop";

    /**
     * 企鹅关联的摆件
     */
    String PENGUIN_ORNAMENT = "penguin:ornament";

    String BADGE_USER_ID = "badge_user_id:%s";

    /**
     *
     */
    String USER_TOTAL_OBTAIN_BADGE_DAYS = "user_total_obtain_days:%s:%s";

    /**
     * 徽章
     */
    String PENGUIN_BADGE = "penguin:badge";

    /**
     * 升级弹窗提示，调用升级提示接口后后删除
     */
    String PENGUIN_UP_NOTIFY = "penguin:up_notify:";

    /**
     * 场景：乘车码城市管理
     */
    String SCENE_CITY_CODE = "member-server:scene_city_code:";

    /**
     * 企鹅装饰
     */
    String PENGUIN_DECORATE = "penguin:decorate:";

    /**
     * 背包第N页数据  penguin:package:page:道具类型:用户id:页码
     */
    String PENGUIN_PACKAGE_PAGE = "penguin:package:page:%s:%s:%s";
    /**
     * 场景：节能家电通知
     */
    String PENGUIN_ELEC_NOTITY = "penguin:elec:notity";
    /**
     * 上传节能家电加锁
     */
    String PENGUIN_ELEC_UPLOAD_LOCK = "penguin:elec:upload_lock:";

    /**
     * 答题正确数量
     */
    String PENGUIN_TOTAL_ANSWER_CORRECT = "penguin:total_answer_correct:";

    /**
     * 累计做题数量和累计做题天数
     */
    String PENGUIN_TOTAL_ANSWER_ALL = "penguin:total_answer_all:";

    /**
     * 用户碳知识阅读记录
     */
    String MEMBER_KNOWLEDGE_COUNT = "penguin:knowledge:%s:%s";

    /**
     * 新闻标签
     */
    String NEWS_CONTENT_LABEL = "news_content_label";

    /**
     * 新闻标签
     */
    String NEWS_CONTENT_1LABEL = "news_content_label";

    /**
     * 用户可领取集合
     */
    String EMISSION_REDUCTION_ENERGY = "emission_reduction_energy:";


    /**
     * 用户登录记录
     */
    String USER_LOGIN_KEY = "user:login:days:%s:%s";

    /**
     * 用户授权记录
     */
    String USER_IMPOWER_STATUS = "user:impower:status";

    /**
     * 可领取减碳量
     */
    String CARBON_LIST_ALL_PHONE = "carbon:List:all:phone:";

    /**
     * 用户授权列表
     */
    String IMPOWER_MEMBER_LIST__PHONE = "impower:member:List:phone:";

    /**
     * 用户授权列表
     */
    String ATTENDANCE_RECORD = "member:attendance_record:phone:";

    /**
     * 用户消息列表
     */
    String MEMBER_MESSAGE_LIST_PHONE = "member:message:list:phone:";

    /**
     * 账号渠道
     */
    String MEMBER_CHANNEL_ALIPAY = "alipay";
    String MEMBER_CHANNEL_WECHAT = "wechat";

    String MEMBER_ACTIVITY_CERT_NUM_BY_PHONE = "member:activity_cert:pertnum:";

    /**
     * 用户减碳量详情饼图数据
     */
    String MEMBER_CARBON_NUM_DETAIL_PIE_CHART_BY_PHONE = "member:carbon:chart:pie:%s:%s";

    /**
     * 活动礼品兑换锁
     */
    String ACTIVITY_GIFT_REDEEM_LOCK = "ActivityGift_redeem_lock:";

    /**
     * 兴业银行用户积分统计
     */
    String INDUSTRIAL_BANK_MEMBER_CARBON = "industrial_bank_member_carbon:";

    /**
     * 兴业银行用户授权锁
     */
    String INDUSTRIAL_BANK_MEMBER_EMPOWER = "industrial_bank_member_empower:";

    /**
     * 兴业银行用户减碳量增加
     */
    String INDUSTRIAL_BANK_INCREASE_CARBON_NUM = "industrial_bank_increase_carbonNum:";

    /**
     * 兴业银行用户减碳量减扣
     */
    String INDUSTRIAL_BANK_DEDUCTION_CARBON_NUM = "industrial_bank_deduction_carbonNum:";
    /**
     * 兴业银行用户是否存在
     */
    String INDUSTRIAL_BANK_USER_EXIST = "industrial_bank_user_exist:";
}
